
/* 
 * Source name     : lab1_p2_cprog.c
 * Executable name : lab1_p2_cprog
 * Version         : 1.1
 * Created date    : 9/18/03
 * Last update     : 1/28/05
 * Author          : Jason Fritts, Roger Chamberlain
 * Description     : template for lab1 C program
 * 
 * Build using this command:
 *   gcc lab1_p2_cprog.c input.c -o lab1_p2_cprog
 */

#include <stdio.h>
#include "input.h"


#define MIN_ELEMENTS	1
#define MAX_ELEMENTS	1000000
#define BOUND_WORD	65536


int main ()
{
    unsigned int	n;
    unsigned int	num_set[MAX_ELEMENTS];
    unsigned int	i;
    unsigned int	j, k;
    unsigned int	rem;
    unsigned int	mark;

    /* Get n from user at stdin */
    n = get_number (MIN_ELEMENTS, MAX_ELEMENTS);

    /* ADD CODE BETWEEN HERE ... */



    /* ... AND HERE */

    /* Print out number pattern */
    printf ("\nDisplaying %d elements of pattern:\n    ", n);

    for (i = 0; i < n; i++)
	printf ("%d ", num_set[i]);

    printf ("\n");
}

